package com.weiyu.bultrasound.core.model.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 *@description 响应头
 *@author abner chow
 *@date 2019-08-08 11:38
 */
@Data
public class ResponseHeader implements Serializable {

    @ApiModelProperty(value="请求id，uuid去-")
    String requestId;

    @ApiModelProperty(value="响应时间戳")
    Long timeStamp;

    @ApiModelProperty(value="响应消息id，uuid去-")
    String responseId;

    @ApiModelProperty(value="响应结果代码，0成功1失败")
    String resultCode;

    @ApiModelProperty(value="响应结果描述")
    String resultDesc;

    @ApiModelProperty(value="错误代码")
    String errorCode;

    @ApiModelProperty(value="错误信息")
    String errorInfo;

}
